package com.nc.view.admin;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 创建人:    xvzhe
 * 创建时间:
 * 修改时间:
 * 版本:      v1.0
 */
@Controller
public class TempController {
    @RequestMapping("/{path}")
    public String temp(@PathVariable("path") String path) {
        return path;
    }

    @RequestMapping("/{path}/{second}")
    public String tempSecond(@PathVariable("path") String path, @PathVariable("second") String second) {
        return path + "/" + second;
    }
}
